package StudyCode.summary.textfile;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ReadingTextFromFile {
	public static void main(String[] argv) {
		try {
			BufferedReader in = new BufferedReader(new FileReader("E:/Copy/test1.txt"));
			String str;
			while ((str = in.readLine()) != null) {
				System.out.println(str);
			}
			in.close();
		} catch (IOException e) {
		}
	}
}
